package com.manzhushaka.demo.bean;


import com.manzhushaka.spring.annotation.Autowired;
import com.manzhushaka.spring.annotation.Component;

@Component
public class UserService {

    @Autowired
    private DemoService demoService;

    public void hello() {
        System.out.println("hello");
    }

    public void demoHello() {
        demoService.hello();
    }

}
